spb/datacenterindex
Public
HTML 53.9%
TypeScript 44.5%
JavaScript 0.6%
SQL 0.5%
1import type { ProjectDetail } from "@dci/core";2import { cache } from "react";3import { api, type ApiResult } from "@/lib/api";45/** Per-request memoised project loader shared by layout (existence gate), metadata, page and OG image. */6export const getProject = cache(async (slug: string): Promise<ApiResult<ProjectDetail>> => api.project(slug));7